home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / pcmsg.z / pcmsg
Encoding:
Text File  |  1998-10-30  |  5.6 KB  |  132 lines

  1.  
  2.  
  3.  
  4. ppppccccmmmmssssgggg((((DDDD3333))))                                                            ppppccccmmmmssssgggg((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_cccc_mmmm_ssss_gggg - test whether a message is a priority control message
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  15.      _iiii_nnnn_tttt _pppp_cccc_mmmm_ssss_gggg_((((_uuuu_cccc_hhhh_aaaa_rrrr______tttt _t_y_p_e_))))_;;;;
  16.  
  17.    AAAArrrrgggguuuummmmeeeennnnttttssss
  18.      _t_y_p_e      The type of message to be tested.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      The _pppp_cccc_mmmm_ssss_gggg function tests the type of message to determine if it is a
  22.      priority control message (also known as a high priority message).
  23.  
  24.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  25.      _pppp_cccc_mmmm_ssss_gggg returns 1 if the message is a priority control message and 0 if the
  26.      message is any other type.
  27.  
  28. UUUUSSSSAAAAGGGGEEEE
  29.      The _dddd_bbbb______tttt_yyyy_pppp_eeee field of the _dddd_aaaa_tttt_aaaa_bbbb(D4) structure contains the message type.
  30.      This field may be accessed through the message block using _mmmm_pppp_----_>>>>_bbbb______dddd_aaaa_tttt_aaaa_pppp_----
  31.      _>>>>_dddd_bbbb______tttt_yyyy_pppp_eeee.
  32.  
  33.    LLLLeeeevvvveeeellll
  34.      Base or Interrupt.
  35.  
  36.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  37.      Does not sleep.
  38.  
  39.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  40.      across calls to this function.
  41.  
  42.    EEEExxxxaaaammmmpppplllleeeessss
  43.      The service routine processes messages on the queue.  If the message is a
  44.      high priority message, or if it is a normal message and the stream is not
  45.      flow-controlled, the message is processed and passed along in the stream.
  46.      Otherwise, the message is placed back on the head of the queue and the
  47.      service routine returns.
  48.  
  49.       _1111    _xxxx_xxxx_xxxx_ssss_rrrr_vvvv_((((_qqqq_))))
  50.       _2222        _qqqq_uuuu_eeee_uuuu_eeee______tttt _****_qqqq_;;;;
  51.       _3333    _{{{{
  52.       _4444        _mmmm_bbbb_llll_kkkk______tttt _****_mmmm_pppp_;;;;
  53.       _5555        _wwww_hhhh_iiii_llll_eeee _((((_((((_mmmm_pppp _==== _gggg_eeee_tttt_qqqq_((((_qqqq_))))_)))) _!!!!_==== _NNNN_UUUU_LLLL_LLLL_)))) _{{{{
  54.       _6666            _iiii_ffff _((((_pppp_cccc_mmmm_ssss_gggg_((((_mmmm_pppp_----_>>>>_bbbb______dddd_aaaa_tttt_aaaa_pppp_----_>>>>_dddd_bbbb______tttt_yyyy_pppp_eeee_)))) _||||_|||| _cccc_aaaa_nnnn_pppp_uuuu_tttt_nnnn_eeee_xxxx_tttt_((((_qqqq_----_>>>>_gggg______nnnn_eeee_xxxx_tttt_))))_)))) _{{{{
  55.       _7777                _////_**** _pppp_rrrr_oooo_cccc_eeee_ssss_ssss _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee _****_////
  56.       _8888                _pppp_uuuu_tttt_nnnn_eeee_xxxx_tttt_((((_qqqq_,,,, _mmmm_pppp_))))_;;;;
  57.       _9999            _}}}} _eeee_llll_ssss_eeee _{{{{
  58.      _1111_0000                _pppp_uuuu_tttt_bbbb_qqqq_((((_qqqq_,,,, _mmmm_pppp_))))_;;;;
  59.  
  60.  
  61.  
  62.                                                                         PPPPaaaaggggeeee 1111
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. ppppccccmmmmssssgggg((((DDDD3333))))                                                            ppppccccmmmmssssgggg((((DDDD3333))))
  70.  
  71.  
  72.  
  73.      _1111_1111                _rrrr_eeee_tttt_uuuu_rrrr_nnnn_;;;;
  74.      _1111_2222            _}}}}
  75.      _1111_3333        _}}}}
  76.      _1111_4444    _}}}}
  77.  
  78. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  79.      _aaaa_llll_llll_oooo_cccc_bbbb(D3), _dddd_aaaa_tttt_aaaa_bbbb(D4), _mmmm_ssss_gggg_bbbb(D4), _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee_ssss(D5)
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                                                                         PPPPaaaaggggeeee 2222
  129.  
  130.  
  131.  
  132.